package com.gxkj.drm.constant;

/**
 * Created by changxiangyang on 2017/9/19.
 */
public class WebConstant {

    // 主框架
    public static final String PAGE_HOME = "/base";
    public static final String PATH_HOME = "/home";
    public static final String URL_INDEX = "/first.ftl";

    // 登出
    public static final String PATH_LOGOUT = "/user/doLogout";

    // 登录-页面
    public static final String PAGE_LOGIN = "/login";
//    public static final String PATH_LOGIN = "/user/doLogin";

    // 我的资源
    public static final String URL_MY_RESOURCE = "/resource/userResource.ftl";
    public static final String PATH_MY_RESOURCE = "/resource/userResource";

    // 编辑资源
    public static final String PAGE_EDIT_RESOURCE = "/resource/editResource";
    public static final String PATH_EDIT_RESOURCE = "/resource/edit";

    // 批量编辑资源
    public static final String PAGE_BATCH_EDIT_RESOURCE = "/resource/batchEditResource";
    public static final String PATH_BATCH_EDIT_RESOURCE = "/resource/batchEdit";

    // 用户列表
    public static final String URL_USER_LIST = "/user/userList.ftl";
//    public static final String PATH_USER_LIST = "/user/userList";

    // 编辑用户信息
    public static final String PAGE_EDIT_USER = "/user/editUser";
    public static final String PATH_EDIT_USER = "/user/edit";

    // 更新用户信息
    public static final String PATH_UPDATE_USER = "/user/update";

    // 修改密码
    public static final String PAGE_CHANGE_PASSWORD = "/user/changePassword";
    public static final String PATH_CHANGE_PASSWORD = "/user/changePwd";

    // 删除用户
    public static final String PATH_DELETE_USER = "/user/delete";

    // 添加用户
    public static final String PAGE_ADD_USER = "/user/addUser";
    public static final String PATH_ADD_USER = "/user/add";

    // 检查用户名是否存在
    public static final String PATH_CHECK_NAME = "/user/add/check";

    // 注册用户
    public static final String PAGE_REGISTER_USER = "/user/register";
    public static final String PATH_REGISTER_USER = "/user/registerUser";

    // 验证码校验
    public static final String PATH_CHECK_IMAGE_CODE = "/checkimagecode";

    // 登陆验证码
    public static final String PATH_LOGIN_IMAGE_CODE = "/getSysManageLoginCode";

    // 用户操作记录
    public static final String PAGE_USER_RECORD = "/user/userRecord";
    public static final String URL_USER_RECORD = "/user/record.ftl";

    // 更新记录
    public static final String URL_UPDATE_LOG = "/version/update.ftl";
    public static final String PATH_UPDATE_LOG = "/version/update";

    // 移除实例
    public static final String PAGE_RESOURCE_ERMOVE_INSTANCE = "/resource/removeInstance";
    public static final String PATH_RESOURCE_ERMOVE_INSTANCE = "/resource/remove";

    // 用户信息
    public static final String PAGE_USER_INFO = "/user/userInfo";
    public static final String PATH_USER_INFO = "/user/info";

    // 跟新用户信息
    public static final String PATH_USER_INFO_UPDATE = "/user/info/update";
}
